package cn.itcast.core.service;

import cn.itcast.core.bean.TestCase;
import cn.itcast.core.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TestCaseService {
    //查询测试用例
    public TestCase findCaseListById(Long id);

    //新增用例
    public int insertinsertSelectiveCase(TestCase testCase);
    //删除用例
    public int deleteCase(Long id);
    //更新用例
    public int updateCase(TestCase testCase);
    //根据参数查询信息
    public List<TestCase> selectByTestCase(String interfaceName, String interfaceType, String textResult);
    //分页


    int selectTestListCount( String interfaceName, String interfaceType, String textResult);

    public Page paging(String interfaceName, String interfaceType, String textResult,int currPage, int pageSize);

}
